﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace BCMS.DAL.Factory
{
    public sealed class LogFactory
    {
        public static BCMS.DAL.IDAL.ILog Create(string path)
        {
            string className = path + ".Logs";
            return (BCMS.DAL.IDAL.ILog)Assembly.Load(path).CreateInstance(className);
        }

    }
}
